import scrapy

# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

"""
item：数据传递
"""


# 默认item
class ArticlespiderItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    pass


# 自定义博客园item
class CnblogsItem(scrapy.Item):
    article_url = scrapy.Field()
    title = scrapy.Field()
    content = scrapy.Field()
    create_time = scrapy.Field()


# 自定义中国制造网-工业设备item
class McGysbItem(scrapy.Item):
    category = scrapy.Field()
    company_info_url = scrapy.Field()
    name = scrapy.Field()
    phone = scrapy.Field()
    cz = scrapy.Field()
    address = scrapy.Field()
    zyyw = scrapy.Field()
    ywfw = scrapy.Field()
